<script setup lang="ts">
import { ref } from 'vue'
import { getAllUser } from '@/api/home';
import popoverItem from '@/components/header/popover-item.jsx'
const num = ref('父组件传过来的值')
const getuser = () => {
  getAllUser().then((res) => {
    
  }).catch((err) => {
    
  });
}
</script>
<template>
  <div class="left_main">
    <popoverItem :num="num"></popoverItem>
    <!-- <button @click="getuser()"></button> -->
  </div>
</template>
<style lang="scss" scoped>
.left_main {
  background-color: #f5f5f5;
  height: 100%;
  width: 15%;
}
</style>